export class Baby{
    private _name:string;
    constructor(name:string){
        this._name = name;
        console.log('--电动机--')
    }
    static smile(){
        console.log('啊大大大')
    }
    public getBabyName():string{
        return this._name;
    }
}
export let baby = new Baby('嘻嘻哈哈');
console.log(baby.getBabyName());